<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>表单添加编辑渲染</title>
<{$showjs}>
<link rel="stylesheet" type="text/css" href="/Plug-in/ext/resources/css/xtheme-slate.css" />
<link rel="stylesheet" type="text/css" href="../css/main.css" />
<style>
.userlist{background-image:url(../img/group.png)!important;}
.useradd{background-image:url(../img/group_add.png)!important;}
.userkey{background-image:url(../img/group_key.png)!important;}
.usercfg{background-image:url(../img/group_gear.png)!important;}
.zdpz{background-image:url(../img/list_settings.gif)!important;}
body { background-color: #D1DDEF; }
</style>
<script language="javascript">
Ext.onReady(function(){
	 tabs = new Ext.TabPanel({
        renderTo: document.body,
        activeTab: 0,
        width:780,
        height:450,
		resizeTabs:true, // turn on tab resizing
        minTabWidth: 115,
        tabWidth:135,
        enableTabScroll:true,
		plain:true,
		frame:true,
        defaults:{autoScroll: true},
        items:[{
                title: '用户总览',
			    iconCls:'userlist',
                html:'<iframe scrolling="auto" frameborder="0" width="100%" height="100%"   src="./l.php?op=list&tid=63"></iframe>'
            }<{if ('63'|getright:"c")}>,{
                title: '添加新用户',
				id:'useradd',
			    iconCls:'useradd',
                html:'<iframe scrolling="auto" frameborder="0" width="100%" height="100%"   src="./user.php?op=add&tid=63"></iframe>'
            }<{/if}><{if ('63'|getright:"pz")}>,{
			    iconCls:'usercfg',
                title: '会员配置',
                html:'<iframe height="100%"   frameborder="0" width="100%" marginheight="0" marginwidth="0" scrolling="auto" src="../form/form_config.php?op=load&tid=63"></iframe>'  
                      
            }<{/if}>,{
			    iconCls:'userkey',
                title: '用户锁管理',
                html:'<iframe height="100%"   frameborder="0" width="100%" marginheight="0" marginwidth="0" scrolling="auto" src="./ikey.php"></iframe>'  
                      
            }/*,{
                title: 'Event Tab',
                listeners: {activate: handleActivate},
                html: "I am tab 4's content. I also have an event listener attached."
            },{
                title: 'Disabled Tab',
                disabled:true,
                html: "Can't see me cause I'm disabled"
            }*/
        ]
    });

    function handleActivate(tab){
        alert(tab.title + ' was activated.');
		tabs.add({
					title: 'New Tab ',
					iconCls: 'tabs',
					html: 'Tab Body <br/><br/>'	,
					closable:true
				}).show();		
    }
});
</script>
</head>
<body>
<BR>
</body>
</html>